﻿<%@ Page Title="" Language="C#" MasterPageFile="~/JewelleryHouse.Master" AutoEventWireup="true" CodeFile="OrderOnline.aspx.cs" Inherits="Customer_OrderOnline" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link rel="Stylesheet" href="../Styles/vendor.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="body">
        <asp:GridView ID="gvOrder" runat="server" Width="656px" 
            AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" 
            GridLines="None" Font-Size="14px" AllowPaging="True">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:TemplateField HeaderText="ID">
                <ItemTemplate>
                    <asp:Label ID="lblProductID" runat="server" Text='<%#Eval("ProductID") %>'></asp:Label>
                </ItemTemplate> 
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Name">
                <ItemTemplate>
                    <asp:Label ID="lblProductName" runat="server" Text='<%#Eval("ProductName") %>'></asp:Label>
                </ItemTemplate> 
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Catefogory">
                <ItemTemplate>
                    <asp:Label ID="lblCatelogy" runat="server" Text='<%#Eval("Catelogy") %>'></asp:Label>
                </ItemTemplate> 
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Quantity">
                <ItemTemplate>
                    <asp:Label ID="lblQuantity" runat="server" Text='<%#Eval("Quantity") %>'></asp:Label>
                </ItemTemplate> 
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Weight">
                <ItemTemplate>
                    <asp:Label ID="lblWeight" runat="server" Text='<%#Eval("Weight") %>'></asp:Label>
                </ItemTemplate> 
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Width">
                <ItemTemplate>
                    <asp:Label ID="lblWidth" runat="server" Text='<%#Eval("Width") %>'></asp:Label>
                </ItemTemplate> 
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Lenght">
                <ItemTemplate>
                    <asp:Label ID="lblLenght" runat="server" Text='<%#Eval("Lenght") %>'></asp:Label>
                </ItemTemplate> 
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Price">
                <ItemTemplate>
                    <asp:Label ID="lblPrice" runat="server" Text='<%#Eval("Price") %>'></asp:Label>
                </ItemTemplate> 
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Total">
                <ItemTemplate>
                    <asp:Label ID="lblTotal" runat="server" Text='<%#Eval("Total") %>'></asp:Label>
                </ItemTemplate> 
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
            <SortedAscendingCellStyle BackColor="#FDF5AC" />
            <SortedAscendingHeaderStyle BackColor="#4D0000" />
            <SortedDescendingCellStyle BackColor="#FCF6C0" />
            <SortedDescendingHeaderStyle BackColor="#820000" />
        </asp:GridView>
        <asp:Label ID="Label1" runat="server" Text="Total :" Width="50px" Font-Size="14px"></asp:Label>
        <asp:Label ID="lblTotal" runat="server" Text=""  Font-Size="14px"   ForeColor="red"></asp:Label>
        <asp:Label ID="Label2" runat="server" Text="USD" Font-Size="14px"></asp:Label>
    </div>
    <div id="btnchoice" style="text-align:center">
    </div>
    <div id="Cus">
        
        <table style="width:100%;">
           
            <tr class="tdone">
                <td>
                    <asp:Label ID="lblName" runat="server" Text="Consignee Name"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtConsigneeName" runat="server" Width="192px"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="txtConsigneeName" ErrorMessage="Please Enter Consignee Name"></asp:RequiredFieldValidator>
                </td>
            </tr>
           
            <tr class="tdtow">
                <td>
                    <asp:Label ID="lblConsigneePhone" runat="server" Text="Consignee Phone"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtConsigneePhone" runat="server" Width="176px"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtConsigneePhone" 
                        ErrorMessage="RequiredFieldValidator" Width="192px">Please enter Phone</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr class="tdone">
                <td>
                    <asp:Label ID="lblConsigneeAddress" runat="server" Text="Consignee Address"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtConsigneeAddress" runat="server" TextMode="MultiLine" 
                        Width="192px"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtConsigneeAddress" ErrorMessage="RequiredFieldValidator">Please enter Address</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr class="tdtow">
                <td>
                    <asp:Label ID="lblDate" runat="server" Text="DateOfOrder"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtDate" runat="server" Width="192px"></asp:TextBox>
                </td>
            </tr>
            <tr class="tdone">
                <td>
                    <asp:Label ID="lblComment" runat="server" Text="Comment"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtComment" runat="server" TextMode="MultiLine" Width="192px"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtComment" ErrorMessage="RequiredFieldValidator">Please Enter comment</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr class="tdtow">
                <td>
            <asp:Button ID="btnBuy" runat="server" onclick="btnBuy_Click" Text="Buy" 
                    Width="82px" />
                </td>
                <td>
            <asp:Button ID="btnCancel" runat="server" Text="Cancel" onclick="btnCancel_Click" />
                    <br />
                </td>
            </tr>
            <tr class="tdthree1">
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            </tr>
            
        </table>
       
        
                         
    </div>
</asp:Content>

